﻿<?php 
	@session_start();
	header("Content-type:text/html;charset=utf-8");
	$host = '127.0.0.1';
	$user = 'root';
	$pass = 'root';
	$db_name = 'sport2017';
	$timezone="Asia/Shanghai";
	if ($link = mysql_connect($host,$user,$pass)) {
		mysql_select_db($db_name,$link);
		mysql_query("set names 'UTF8'",$link);
	} else {
		echo "由于访问人数太多，造成无法访问，请刷新网站即可！";
		exit;
	}	mysql_select_db($db_name,$link);
	mysql_query("set names 'UTF8'",$link);
?>